package cn.com.xyc.action;


import cn.com.xyc.pojo.Admin;


public class MainAction extends BaseAction {
	private Admin admin;//登录人     
	
	public String execute() throws Exception {
		return SUCCESS;
	}
	public String login()throws Exception{
		System.out.println(admin.getUsername()+","+admin.getPassword());
		return "loginSuccess";
	}
	public Admin getAdmin() {
		return admin;
	}
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}
	
}
